﻿namespace GBlog.Core.Entities
{
    public class Comment : EntityBase<int>
    {
        public string Name { get; set; }
        public string Content { get; set; }
        public string Email { get; set; }
        public string Website { get; set; }
        public bool IsUser { get; set; }

        public int PostID { get; set; }
        public virtual Post Post { get; set; }

        public int? UserID { get; set; }
        public virtual User User { get; set; }
    }
}